package request

import (
	"github.com/gorilla/websocket"
	"time"
)

type Node struct {
	Conn *websocket.Conn
	Data chan []byte
	Esc  chan bool
}
type Seed struct {
	SeedId int    `json:"seed_id" form:"seed_id" binding:"required"`
	Data   string `json:"data" form:"data" binding:"required"`
}
type GetData struct {
	ChatId   int32     `json:"chat_id" form:"chat_id" binding:"required"`
	Data     string    `json:"data" form:"data" binding:"required"`
	FormName string    `json:"form_name" form:"form_name" binding:"required"`
	FormId   int       `json:"fprm_id" form:"fprm_id" binding:"required"`
	FormTime time.Time `json:"fprm_time" form:"fprm_time" binding:"required"`
}
